﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Desk_myInitProcess.aspx.cs" Inherits="Runda.CMS.Portal.Workspace.Desk_myInitProcess" %>
<%@ Register TagPrefix="mwc" Namespace="Runda.CMS.Web.Controls" Assembly="Runda.CMS.Common.Application.Components" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>我发起的流程</title>
	 
		 <link href="../Content/Menu/Menu.css" type="text/css" rel="stylesheet" />
	  <link href="../Content/global.css" type="text/css" rel="stylesheet" />
		<link rel="stylesheet" type="text/css" href="../Content/Grid/mapgrid.css">
	<link href="../Content/Form/form.css" type="text/css" rel="stylesheet" />
	<link href="../Content/Form/select.css" type="text/css" rel="stylesheet" />
		<style>BODY { BORDER-RIGHT: 0px; BORDER-TOP: 0px; FONT-SIZE: 9pt; BORDER-LEFT: 0px; CURSOR: default; BORDER-BOTTOM: 0px; FONT-FAMILY: 宋体 }
	.AHlk { CURSOR: hand; COLOR: black }
	.TextHlk { COLOR: black }
		</style>
		<script language="javascript" src="../Content/global.js"></script>	 
		<script language="javascript" src="../Content/settings.js"></script>
		<script language="javascript" src="../Content/util.js"></script>
		  <script language="javascript" src="../Content/DateTime/date.js"></script>
    <script language="javascript" src="../Content/DateTime/time.js"></script>
		<script language="javascript" src="../Content/Grid/rep_grid.js"></script>
		<script language="javascript" src="../Content/Menu/menu.js"></script>
		<script language="javascript" src="MouseEventOfLink.js"></script>
		<script language="javascript" src="../Content/Navigate/map.js"></script>
		 
		<script language="javascript">
		    function window.onload() {
		        //initGrid(gridBar);					//初始化 Repeater 中的表格(id=gridBar)
		    }

		    //切换到功能模块
		    function GoToProcess(id) {		       
		        var sParamList = "";
		        if (id != '') {
		            sParamList = "/ContractManage/ContractAdd.aspx?ContractID=" + id;
		        } else {
		        sParamList = "/ContractManage/ContractList.aspx";
		        }
		        GoFromMyDesktop( sParamList);
		    }			
		</script>
	</HEAD>
	<body MS_POSITIONING="GridLayout" style="PADDING-LEFT: 12px; PADDING-TOP: 5px; BACKGROUND-COLOR: #ffffff">
		<form id="erpForm" method="post" runat="server">
			<table style="TABLE-LAYOUT: fixed; FONT-SIZE: 9pt" height="100%" cellSpacing="0" cellPadding="0"
				width="100%">
				<colgroup>
					<col width="20">
					<col>
					<col width="100">
				</colgroup>
				<TBODY>
					<tr height="25">
						<td colspan="2"><label style="FONT-WEIGHT: bold;COLOR: green">审批通过的流程：</label></td>
						<td><a id="aPass" style="COLOR:green" runat="server" href="#" onclick="GoToProcess('')">更多关注...</a>&nbsp;</td>
					</tr>
					<tr>
						<Td></Td>
						<td colspan="2">
							<!--Repeater Bgein -->
							<mwc:repeater id="rptrPass" runat="server" SortSignASC='<img src="/_imgs/ico_arrow_u.gif">' SortSignDESC='<img src="/_imgs/ico_arrow_d.gif">'
								EnablePager="False">
								<FooterTemplate>
			</table>
			</div></td></tr> </table> </FooterTemplate>
			<ItemTemplate>
				<tr height="20" id='<%# DataBinder.Eval(Container.DataItem, "ContractID") %>'>
					<td><label class="AHlk" onclick="GoToProcess(this.parentElement.parentElement.id)" runat="server" ID="Label2">编号<%# DataBinder.Eval(Container.DataItem, "ContractCode")%> 合同</label></td>
					<td></td>
				</tr>
			</ItemTemplate>
			<HeaderTemplate>
				<table width="100%" height="100%" style="TABLE-LAYOUT: fixed;FONT-SIZE: 9pt" cellspacing="0"
					cellpadding="0" border="0" bordercolor="red" ID="Table1">
					<tr height="100%" valign="top">
						<td>
							<div style="OVERFLOW: auto; WIDTH: 100%; HEIGHT: 100%">
								<table id="gridBar" width="100%" cellpadding="0" cellspacing="0" border="0" gridID="Repeater1"
									style="TABLE-LAYOUT: fixed">
									<colgroup id="gridBarCols">
										<col>
										<col width="14">
									</colgroup>
			</HeaderTemplate>
			</mwc:repeater> 
			<!--Repeater End--> </TD></TR>
			<tr height="25">
				<td colspan="2"><label style="FONT-WEIGHT: bold;COLOR: red">审批未通过的流程：</label></td>
				<td><a id="aNoPass" style="COLOR:red" runat="server" href="#" onclick="GoToProcess('')">更多关注...</a>&nbsp;</td>
			</tr>
			<tr>
				<Td></Td>
				<td colspan="2">
					<!--Repeater Bgein -->
					<mwc:repeater id="rptrNoPass" runat="server" SortSignASC='<img src="/_imgs/ico_arrow_u.gif">'
						SortSignDESC='<img src="/_imgs/ico_arrow_d.gif">' EnablePager="False">
						<FooterTemplate>
					</table> </div></td>
			</tr>
			</table> </FooterTemplate>
			<ItemTemplate>
				<tr height="20" id='<%# DataBinder.Eval(Container.DataItem, "ContractID") %>'>
					<td><label class="AHlk" onclick="GoToProcess(this.parentElement.parentElement.id)" runat="server" ID="Label1">编号<%# DataBinder.Eval(Container.DataItem, "ContractCode")%>
							合同</label></td>
					<td></td>
				</tr>
			</ItemTemplate>
			<HeaderTemplate>
				<table width="100%" height="100%" style="TABLE-LAYOUT: fixed;FONT-SIZE: 9pt" cellspacing="0"
					cellpadding="0" border="0" bordercolor="red" ID="Table1">
					<tr height="100%" valign="top">
						<td>
							<div style="OVERFLOW: auto; WIDTH: 100%; HEIGHT: 100%">
								<table id="gridBar" width="100%" cellpadding="0" cellspacing="0" border="0" gridID="Repeater1"
									style="TABLE-LAYOUT: fixed">
									<colgroup id="gridBarCols">
										<col>
										<col width="14">
									</colgroup>
			</HeaderTemplate>
			</mwc:repeater> 
			<!--Repeater End--> </TD></TR></TBODY></TABLE>
		</form>
	</body>
</HTML>
